import React from 'react'
import Icon, {typeNames} from 'components/Icon'
import './index.scss'

export default function IconDemo() {
  return (
    <div className="icon_demo_scope">
      {typeNames.map((key) => (
        <div key={key} className="item">
          <Icon type={key} className="icon_demo" />
          <div className="name">{key}</div>
        </div>
      ))}
    </div>
  )
}